Skip to main content

Excessive trust in client-side controls

1

We can click on the My account button and login using the following credentials:

UsernamePassword
wienerpeter

2

We can now go back to the web store and click on the "Lightweight l33t leather jacket".

3

Let's add the product to the cart.

4

We can place the order but it won't go through because we don't have enough credits.

Since we are proxying the traffic Burp Suite, we can view this request through the Proxy > HTTP History tab.

5

Let's forward the request to the Repeater for further modifications.

Once in the Repeater, we can set the price parameter to the following:

9

Let's send the request.

6

If we check our cart through the browser, we can see that the price of the product has been set to the modified price parameter's value.

The quantity has also been updated.

7

Since the total price is less than our credits, we can now place the order.

8

We have solved the lab.

9